---
title: Zep Open Source Retriever
---

> [Zep](https://www.getzep.com) is a long-term memory service for AI Assistant apps.
> With Zep, you can provide AI assistants with the ability to recall past conversations, no matter how distant,
> while also reducing hallucinations, latency, and cost.

> Interested in Zep Cloud? See [Zep Cloud Installation Guide](https://help.getzep.com/sdks)

This example shows how to use the Zep Retriever in a retrieval chain to retrieve documents from Zep Open Source memory store.

## Installation

Follow the [Zep Open Source Quickstart Guide](https://help.getzep.com/quickstart) to install and get started with Zep.

## Setup

import IntegrationInstallTooltip from '/snippets/javascript-integrations/integration-install-tooltip.mdx';

<IntegrationInstallTooltip/>

```bash npm
npm i @getzep/zep-js @langchain/community @langchain/core
```

## Usage

import Zep from "/snippets/javascript-integrations/examples/retrievers/zep.mdx";

<Zep />

## Related

- [Retrieval guide](/oss/langchain/retrieval)
